package com.lqfan.autoAnswerQ.service.quesBank;

import com.lqfan.autoAnswerQ.model.quesBank.Question;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lqfan
 * @since 2020-04-05
 */
public interface IQuestionService extends IService<Question> {

    /**
     * 保存题库
     * @param src
     * @param fileName
     * @param fileType
     * @param userId
     * @return
     */
    boolean saveQuesBank(MultipartFile questionFile, MultipartFile answerFile, String path, String src, String fileName, int fileType, String userId);
    boolean updateDoNum(String userId,String id);

}
